package cn.bdqn.web;

import java.text.SimpleDateFormat;
import java.util.Date;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class TestController {
   
	@RequestMapping("/getAll")
	public String time(){
		Date data=new Date();
		SimpleDateFormat sdf=new SimpleDateFormat();
		String s =sdf.format(data);
		return s;
	}
	
}
